html, body {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(dimgray, silver, silver, dimgray);
}

.card {
	width: 400px;
	background: linear-gradient(#333, dimgray);
	color: white;
	box-sizing: border-box;
	padding: 20px;
	font-family: sans-serif;
	letter-spacing: 0.1em;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.card h2 {
	text-transform: uppercase;
	text-align: center;
}

.card .skill {
	height: 50px;
}

.card .skill:hover {
	background-color: #333;
}

.card .skill span {
	display: block;
}

.card .skill .level {
	text-align: right;
	transform: translateY(-1em);
	position: relative;
}

.card .skill .level::after {
	content: '';
	position: absolute;
	top: 1.2em;
	left: 0;
	width: 100%;
	height: 100%;
	border: 1px solid mediumspringgreen;
	border-radius: 0.2em;
	background-image: linear-gradient(to right, mediumspringgreen, mediumspringgreen);
	background-repeat: no-repeat;
	background-position: top 1px left 1px;
}

.card .skill.html .level::after {
	background-size: 90% 1em;
}

.card .skill.css .level::after {
	background-size: 95% 1em;
}

.card .skill.javascript .level::after {
	background-size: 80% 1em;
}

.card .skill.svg .level::after {
	background-size: 60% 1em;
}

.card .skill.canvas .level::after {
	background-size: 75% 1em;
}

